<%--
  Created by IntelliJ IDEA.
  User: 17237
  Date: 2023/10/30
  Time: 9:14
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
    <title>更改项目</title>
</head>
<body>
<form action="update.project" method="post">
    <p>
        项目ID：<input type="number" value="${p.id}" readonly name="id" />
    </p>
    <p>
        项目名称：<input type="text" value="${p.projectName}" required name="projectName" />
    </p>
    <p>
        项目类型：<input type="text" value="${p.projectCategory}" required name="projectCategory" />
    </p>
    <p>
        专家人数：<input type="number" value="${p.professorNum}" min="0" step="1" required name="professorNum" />
    </p>
    <p>
        项目状态：<input type="text" value="${p.isEvaluated}" required name="isEvaluated" />
    </p>
    <p>
        采购方式：<input type="text" value="${p.prochaseMode}" required name="prochaseMode" />
    </p>
    <p>
        采购部门id:<input type="number" value="${p.departmentId}" min="1" step="1"  name="departmentId" />
    </p>
    <p>
        预算：<input type="number" value="${p.budget}"  min="0" step="0.01" required name="budget" />
    </p>
    <p>
        采购公告时间：<input type="date" value='<fmt:formatDate value="${p.announceDate}" pattern="yyyy-MM-dd"/>'  required name="announceDate" />
    </p>
    <p>
        开标时间：<input type="date" value='<fmt:formatDate value="${p.openDate}" pattern="yyyy-MM-dd"/>' required name="openDate" />
    </p>
    <p>
        开标地点：<input type="text" value="${p.address}" required name="address" />
    </p>
    <p>
        成交公告时间：<input type="date" value='<fmt:formatDate value="${p.dealDate}" pattern="yyyy-MM-dd"/>'  name="dealDate" />
    </p>
    <p>
        公告发布网址：<input type="text" value="${p.url}"  name="url" />
    </p>
    <p>
        成交单位：<input type="text" value="${p.dealCompany}"  name="dealCompany" />
    </p>
    <p>
        成交价格：<input type="number" value="${p.settlePrice}"  min="0" step="0.01" name="settlePrice" />
    </p>
    <p>
        项目联系人姓名：<input type="text" value="${p.linkMan}" required name="linkMan" />
    </p>
    <p>
        项目联系人电话：<input type="text" value="${p.mobliePhone}" required name="mobliePhone" />
    </p>
    <p>
        项目文件路径：<input type="text" value="${p.projectFilePath}"  name="projectFilePath" />
    </p>
    <p>
        创建者：<input type="text" value="${p.createBy}" required name="createBy" />
    </p>
    <p>
        创建时间：<input type="date" value='<fmt:formatDate value="${p.createDate}" pattern="yyyy-MM-dd"/>'  name="createDate" />
    </p>
    <p>
        采购部门：<input type="text" value="${p.department}" name="department" />
    </p>
    <p>
        修改者：<input type="text"  value="${p.updateBy}" name="updateBy" />
    </p>
    <p>
        更新时间：<input type="date" value='<fmt:formatDate value="${p.updateDate}" pattern="yyyy-MM-dd"/>' required name="updateDate" />
    </p>
    <p>
        报到时间：<input type="date" value='<fmt:formatDate value="${p.registerTime}" pattern="yyyy-MM-dd"/>'  name="registerTime" />
    </p>
    <p>
        报到地点：<input type="text"  value="${p.registerAddress}" name="registerAddress" />
    </p>
    <p>
        评标委员会组成人数：<input type="number" value="${p.committee}" min="0" step="1" name="committee" />
    </p>
    <p>
        采购代表：<input type="text" value="${p.professional}"  name="professional" />
    </p>
    <p>
        完成状态：<input type="number" value="${p.status}"  min="0" max="1" step="1" name="status" />
    </p>
    <p>
        <input type="submit" value="保存"/>
        <input type="reset" value="重填"/>
    </p>
</form>

</body>
</html>
